package com.zenith.article.po.domain;

import com.zenith.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "文章版本历史实体", description = "文章版本历史实体")
public class ArtVersion extends BaseEntity {
    
    @Schema(description = "文章ID")
    private Long articleId;
    
    @Schema(description = "版本号")
    private Integer version;
    
    @Schema(description = "版本标题")
    private String title;
    
    @Schema(description = "内容OSS地址")
    private String contentUrl;
    
    @Schema(description = "Diff JSON")
    private String diff;
    
    @Schema(description = "操作人ID")
    private Long operatorId;
    
    @Schema(description = "备注")
    private String remark;
}